package com.ruoyi.caiwu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 凭证附件对象 accounting_voucher_attachment
 *
 * @author ruoyi
 * @date 2025-02-25
 */
public class AccountingVoucherAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件id */
    private Long attachmentId;

    /** 关联的凭证id */
    @Excel(name = "关联的凭证id")
    private Long voucherId;

    /** 附件文件名 */
    @Excel(name = "附件文件名")
    private String fileName;

    /** 附件存储路径 */
    @Excel(name = "附件存储路径")
    private String filePath;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private String fileType;

    public void setAttachmentId(Long attachmentId)
    {
        this.attachmentId = attachmentId;
    }

    public Long getAttachmentId()
    {
        return attachmentId;
    }
    public void setVoucherId(Long voucherId)
    {
        this.voucherId = voucherId;
    }

    public Long getVoucherId()
    {
        return voucherId;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("voucherId", getVoucherId())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("fileType", getFileType())
            .toString();
    }
}
